Developer --> Technical Publications
PATHHardware Documentation > USB Devices > Mac OS USB DDK API Reference


USB References

All references to the USB are made on the basis of a USB reference. The USB references are of type USBReference . USBDeviceRef, USBInterfaceRef, USBPipeRef, and USBEndPointRef are USB references that you pass into or obtain from the USL functions. The USB reference is an opaque reference maintained by the USB Services Library.

A device reference is obtained when the class or interface driver is initialized, since it is passed as a parameter to the initialization procedure. The USB reference for a particular USB device can be found in the device entry in the Name Registry and vice-versa by calling the USB Manager. See Topology Database Access Functions for a description of the functions available for obtaining information about USB devices.


© 1998 Apple Computer, Inc. – (Last Updated 23 Nov 98)

Previous | Back Up One Level | Next |